import request from '@/utils/request';

// 分页查询
export function getDataList(params) {
  return request({
    url: `/jjxt/article/pageData`,
    method: 'get',
    params
  });
}

// 批量删除
export function deleteData(data) {
  return request({
    url: `/jjxt/article/remove`,
    method: 'delete',
    data
  });
}

// 保存或更新
export function updateDataList(data) {
  return request({
    url: `/jjxt/article/saveOrUpdate`,
    method: 'post',
    data
  });
}
